/**
 * Copyright (C) 2011-2020  Michael Chow <michael.chow.1981@gmail.com>
 * Author: michael.chow.1981@gmail.com
 * Time: 11-9-2下午11:23
 * Version: 0.1-SNAPSHOT
 * Description:
 * Change:
 */
seajs.config({
    base: 'http://localhost/bgnode',
    alias: {
        'json': 'devlib/json/1.0.0/json',
        'es5-safe': 'devlib/es5-safe/0.9.1/es5-safe',
        'cookie': 'devlib/cookie/1.0.0/cookie',
        'querystring': 'devlib/querystring/1.0.0/querystring',
        'mustache': 'devlib/mustache/0.3.1/mustache',
        'prefetch': 'devlib/prefetch/0.9.0/prefetch',
        'jquery': 'devlib/jquery/1.6.2/jquery',
        'underscore': 'devlib/underscore/1.1.7/underscore',
        'backbone': 'devlib/backbone/0.5.3/backbone'
    },
    map: [
        [ /^(.*\/js\/.*\.(?:css|js))(?:.*)$/i, '$1?20110902' ]
    ],
    preload: [
        Function.prototype.bind ? '' : 'es5-safe',
        this.JSON ? '' : 'json'
    ]
});

define(function(require, exports, module) {
    var app = require('./application');
    app.run();
});